package cn.darkhorse.messystem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjun
 * @since 2024-04-17
 */
@Getter
@Setter
  @TableName("saas_user")
@ApiModel(value = "SaasUser对象", description = "")
public class SaasUser implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("公司id")
      private Long companyId;

      @ApiModelProperty("账号")
      private String username;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("删除标志（0：正常1：删除）")
      private String delFlag;

      @ApiModelProperty("帐号状态（0正常 1停用）")
      private String status;

      @ApiModelProperty("创建者")
      private String createBy;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty("更新者")
      private String updateBy;

      @ApiModelProperty("更新时间")
      private LocalDateTime updateTime;

      @ApiModelProperty("备注")
      private String remark;


}
